//package ajax; /**
// * @Author wuchao66
// * @Date 2023/6/5 10:14
// * @PackageName:${PACKAGE_NAME}
// * @ClassName: ${NAME}
// * @Description: TODO
// * @Param
// * @Version 1.0
// */
//
//import javax.servlet.ServletContextEvent;
//import javax.servlet.ServletContextListener;
//import javax.servlet.annotation.WebListener;
//import javax.servlet.http.HttpSessionAttributeListener;
//import javax.servlet.http.HttpSessionEvent;
//import javax.servlet.http.HttpSessionListener;
//import javax.servlet.http.HttpSessionBindingEvent;
//
//@WebListener()
//public class Listener1 implements ServletContextListener,
//        HttpSessionListener, HttpSessionAttributeListener {
//
//    // Public constructor is required by servlet spec
//    public Listener1() {
//    }
//
//    // -------------------------------------------------------
//    // ServletContextListener implementation
//    // -------------------------------------------------------
//    public void contextInitialized(ServletContextEvent sce) {
//      /* This method is called when the servlet context is
//         initialized(when the Web application is deployed).
//         You can initialize servlet context related data here.
//      */
//    }
//
//    public void contextDestroyed(ServletContextEvent sce) {
//      /* This method is invoked when the Servlet Context
//         (the Web application) is undeployed or
//         Application Server shuts down.
//      */
//    }
//
//    // -------------------------------------------------------
//    // HttpSessionListener implementation
//    // -------------------------------------------------------
//    public void sessionCreated(HttpSessionEvent se) {
//        /* Session is created. */
//    }
//
//    public void sessionDestroyed(HttpSessionEvent se) {
//        /* Session is destroyed. */
//    }
//
//    // -------------------------------------------------------
//    // HttpSessionAttributeListener implementation
//    // -------------------------------------------------------
//
//    public void attributeAdded(HttpSessionBindingEvent sbe) {
//      /* This method is called when an attribute
//         is added to a session.
//      */
//    }
//
//    public void attributeRemoved(HttpSessionBindingEvent sbe) {
//      /* This method is called when an attribute
//         is removed from a session.
//      */
//    }
//
//    public void attributeReplaced(HttpSessionBindingEvent sbe) {
//      /* This method is invoked when an attribute
//         is replaced in a session.
//      */
//    }
//}
